from Tool.tools import Log,Email
import pytest,os

if __name__ == '__main__':

    Log()
    Email()
    pytest.main([r'D:\gao1\UIweb\Case\test_case.py', '-s', '--html=baogao.html'])
    pytest.main([r'D:\gao1\UIweb\Case\test_case.py', '-s', '--alluredir=allure-results','--clean-alluredir'])
    os.system('allure generate allure-results -o allure-report --clean')